package com.itheima.travel.service;

import com.itheima.travel.req.BaseRequest;
import com.itheima.travel.res.GetwayRespons;
import org.springframework.web.multipart.MultipartFile;

//网关服务
public interface GatewayService {
    //请求方法，请求数据 文件上传对象
    GetwayRespons methods(String method, BaseRequest baseRequest, MultipartFile multipartFile);

    //响应，错误信息
    GetwayRespons error(GetwayRespons respons,Exception e);
}
